FROM java:8
VOLUME /tmp
ADD target/config-center-0.0.1-SNAPSHOT.jar config-center.jar
RUN bash -c 'touch /config-center.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/config-center.jar"]